//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.lyyzoo.util;

public class Exceptions {
    public Exceptions() {
    }

    public static RuntimeException unchecked(Throwable ex) {
        return ex instanceof RuntimeException ? (RuntimeException)ex : new RuntimeException(ex);
    }

    public static RuntimeException newException(Throwable ex) {
        return new RuntimeException(ex);
    }

    public static RuntimeException newException(Throwable ex, String msg) {
        return new RuntimeException(msg, ex);
    }

    public static RuntimeException newRuntimeException(String msg) {
        return new RuntimeException(msg);
    }
}
